package com.dingreading.cloud.admin.mapper;

import com.dingreading.cloud.admin.entity.OrderForm;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 映射层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface OrderFormMapper extends BaseMapper<OrderForm> {

    List<Long> getOperands(
            @Param("waitConfirmType") Integer waitConfirmType, @Param("waitSendType") Integer waitSendType,
            @Param("roleType") Integer roleType, @Param("staffUid") String staffUid,
            @Param("selfType") int selfType, @Param("consortiumType") int consortiumType, @Param("brandJoinType") int brandJoinType,
            @Param("productJoinType") int productJoinType, @Param("cooperationType") int cooperationType, @Param("easyProductJoinType") int easyProductJoinType);


    List<OrderForm> getExportList(Map<String, Object> otherParams);

}
